home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Idle
/
Repeater.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
464b
|
30 lines
// Repeater.h
#ifndef Repeater_h
#define Repeater_h
#ifndef Enableable_h
#include "Enableable.h"
#endif
#ifndef PostponableMethod_h
#include "PostponableMethod.h"
#endif
class Repeater: public Enableable
{
private:
const Method& toRepeat;
PostponableMethod< Repeater > repeat;
bool inProgress;
void Repeat();
virtual void BeEnabled();
virtual void BeDisabled();
public:
Repeater( const Method&, bool startEnabled = true );
};
#endif